<!DOCTYPE html>
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--><html lang="en"><!--<![endif]-->
<head>
    <meta charset="utf-8">

    <!-- Viewport Metatag -->
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    @section('css')
    <!-- Plugin Stylesheets first to ease overrides -->
    <link rel="stylesheet" type="text/css" href="/webadmin/plugins/colorpicker/colorpicker.css" media="screen">
    <link rel="stylesheet" type="text/css" href="/webadmin/custom-plugins/wizard/wizard.css" media="screen">

    <!-- Required Stylesheets -->
    <link rel="stylesheet" type="text/css" href="/webadmin/bootstrap/css/bootstrap.min.css" media="screen">
    <link rel="stylesheet" type="text/css" href="/webadmin/css/fonts/ptsans/stylesheet.css" media="screen">
    <link rel="stylesheet" type="text/css" href="/webadmin/css/fonts/icomoon/style.css" media="screen">

    <link rel="stylesheet" type="text/css" href="/webadmin/css/mws-style.css" media="screen">
    <link rel="stylesheet" type="text/css" href="/webadmin/css/icons/icol16.css" media="screen">
    <link rel="stylesheet" type="text/css" href="/webadmin/css/icons/icol32.css" media="screen">

    <!-- Demo Stylesheet -->
    <link rel="stylesheet" type="text/css" href="/webadmin/css/demo.css" media="screen">

    <!-- jQuery-UI Stylesheet -->
    <link rel="stylesheet" type="text/css" href="/webadmin/jui/css/jquery.ui.all.css" media="screen">
    <link rel="stylesheet" type="text/css" href="/webadmin/jui/jquery-ui.custom.css" media="screen">

    <!-- Theme Stylesheet -->
    <link rel="stylesheet" type="text/css" href="/webadmin/css/mws-theme.css" media="screen">
    <link rel="stylesheet" type="text/css" href="/webadmin/css/themer.css" media="screen">
    @show
    <title>@yield('title')</title>
    @yield('myStyle')

</head>

<body>

	<!-- Header -->
	<div id="mws-header" class="clearfix">
    
    	<!-- Logo Container -->
    	<div id="mws-logo-container">
        
        	<!-- Logo Wrapper, images put within this wrapper will always be vertically centered -->
        	<div id="mws-logo-wrap">
            	<img src="/webadmin/images/mws-logo.png" alt="mws admin">
			</div>
        </div>
        
        <!-- User Tools (notifications, logout, profile, change password) -->
        <div id="mws-user-tools" class="clearfix">
        
        	<!-- Notifications -->
        	<div id="mws-user-notif" class="mws-dropdown-menu">
                
                <!-- Unread notification count -->
            </div>
            
            <!-- Messages -->
            <div id="mws-user-message" class="mws-dropdown-menu">
    
                <!-- Unred messages count -->
                    </div>
                </div>
            </div>
            
            <!-- User Information and functions section -->
            <div id="mws-user-info" class="mws-inset">
                </div>
            </div>
        </div>
    </div>
    
    <!-- Start Main Wrapper -->
    <div id="mws-wrapper">
    
    	<!-- Necessary markup, do not remove -->
		<div id="mws-sidebar-stitch"></div>
		<div id="mws-sidebar-bg"></div>
        
        <!-- Sidebar Wrapper -->
        <div id="mws-sidebar">
        
            <!-- Hidden Nav Collapse Button -->
            <div id="mws-nav-collapse">
                <span></span>
                <span></span>
                <span></span>
            </div>
            <!-- Main Navigation -->
            <div id="mws-navigation">
                <ul>
                    <li>
                        <a href="#"><i class="icon-users"></i> 用户管理</a>
                        <ul>
                            <li><a href="/admin/user/create">用户添加</a></li>
                            <li><a href="/admin/user">用户列表</a></li>
                        </ul>
                    </li>
                    <li>

                        <a href="#"><i class="icon-list"></i> 分类管理</a>
                        <ul class="closed">
                            <li><a href="/cate/add">分类添加</a></li>
                            <li><a href="/cate/index">分类列表</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="icon-list"></i> 店铺管理</a>
                        <ul class="closed">
                            <li><a href="/admin/shop/create">待审核列表</a></li>
                            <li><a href="/admin/shop">店铺列表</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="icon-list"></i> 品牌管理</a>
                        <ul class="closed">
                            <li><a href="/brank/add">品牌添加</a></li>
                            <li><a href="/brank/index">品牌列表</a></li>
                        </ul>
                    </li>

                    <li>
                        <a href="#"><i class="icon-list"></i> 订单管理</a>
                        <ul class="closed">
                            <li><a href="/admin/order">订单列表</a></li>

                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="icon-list"></i>友情链接</a>
                        <ul class="closed">
                            <li><a href="/admin/links/add">链接添加</a></li>
                            <li><a href="/admin/links/">链接列表</a></li>
                        </ul>                       
                    </li>
                    <li>
                    <a href="/admin/config"><i class="icon-list"></i> 网站管理</a>  
                    </li>
                </ul>

            </div>         
        </div>
        
        <!-- Main Container Start -->

        <div id="mws-container" class="clearfix">  
            {{Session::get('info')}}

            @yield('content')   
        </div>
        <!-- Main Container End -->
        
    </div>
    
    @section('js')
    <!-- JavaScript Plugins -->
    <script src="/webadmin/js/libs/jquery-1.8.3.min.js"></script>
    <script src="/webadmin/js/libs/jquery.mousewheel.min.js"></script>
    <script src="/webadmin/js/libs/jquery.placeholder.min.js"></script>
    <script src="/webadmin/custom-plugins/fileinput.js"></script>
    
    <!-- jQuery-UI Dependent Scripts -->
    <script src="/webadmin/jui/js/jquery-ui-1.9.2.min.js"></script>
    <script src="/webadmin/jui/jquery-ui.custom.min.js"></script>
    <script src="/webadmin/jui/js/jquery.ui.touch-punch.js"></script>

    <!-- Plugin Scripts -->
    <script src="/webadmin/plugins/datatables/jquery.dataTables.min.js"></script>
    <!--[if lt IE 9]>
    <script src="/webadmin/js/libs/excanvas.min.js"></script>
    <![endif]-->
    <script src="/webadmin/plugins/flot/jquery.flot.min.js"></script>
    <script src="/webadmin/plugins/flot/plugins/jquery.flot.tooltip.min.js"></script>
    <script src="/webadmin/plugins/flot/plugins/jquery.flot.pie.min.js"></script>
    <script src="/webadmin/plugins/flot/plugins/jquery.flot.stack.min.js"></script>
    <script src="/webadmin/plugins/flot/plugins/jquery.flot.resize.min.js"></script>
    <script src="/webadmin/plugins/colorpicker/colorpicker-min.js"></script>
    <script src="/webadmin/plugins/validate/jquery.validate-min.js"></script>
    <script src="/webadmin/custom-plugins/wizard/wizard.min.js"></script>
    <!-- Core Script -->
    <script src="/webadmin/bootstrap/js/bootstrap.min.js"></script>
    <script src="/webadmin/js/core/mws.js"></script>

    <!-- Themer Script (Remove if not needed) -->
    <script src="/webadmin/js/core/themer.js"></script>
    @show

    @yield('myJs')

</body>
</html>